import request from '@/utils/request.js'

// 获取到审核模块的数据
export function getReviewList(params) {
  return request({
    url: '/fetv/information/list',
    method: 'get',
    params
  })
}

// 修改审核模块当前行的审核状态
export function auditStatus(params) {
  return request({
    url: '/fetv/information/audit/examine',
    method: 'get',
    params
  })
}


// 修改当前行的状态
export function toggleStatus(params) {
  return request({
    url: '/fetv/information/status',
    method: 'get',
    params
  })
}

// 删除资讯管理
export function deleteInfo(infoId) {
  return request({
    url: '/fetv/information/' + infoId,
    method: 'delete'
  })
}